package goods_category

// 表名也是cache的tag
var TableName = "goods_category"

// 商品分类
type GoodsCategory struct {
	Id       int64
	CatTitle string `xorm:"varchar(64) notnull unique 'cat_title'"`
	ParentId int64  `xorm:"integer(11) notnull default(0) 'parent_id'"`

	Avatar  string `xorm:"varchar(64) null 'avatar'"`
	AddTime int64  `xorm:"integer(11) notnull 'add_time'"`
	AddIp   string `xorm:"char(15) notnull 'add_ip'"`
	Status  int    `xorm:"tinyint(4) notnull 'status'"`
}
